package com.cykj.finance.domain;

import java.math.BigDecimal;

import com.cykj.common.core.annotation.Excel;
import com.cykj.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 等级佣金对象 fn_level_commission
 * 
 * @author 天才少年
 * @date 2025-08-19
 */
public class FnLevelCommission extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 等级ID */
    private Long levelId;

    /** 等级级别 */
    @Excel(name = "等级级别")
    private Long levelRank;

    /** 佣金比例 */
    @Excel(name = "佣金比例")
    private BigDecimal commissionRate;

    /** 月销售流水 */
    @Excel(name = "月销售流水")
    private Long rule;

    /** 规则描述 */
    @Excel(name = "规则描述")
    private String discript;

    /** 状态(0禁用1启用) */
    @Excel(name = "状态(0禁用1启用)")
    private Long status;

    public void setLevelId(Long levelId) 
    {
        this.levelId = levelId;
    }

    public Long getLevelId() 
    {
        return levelId;
    }

    public void setLevelRank(Long levelRank) 
    {
        this.levelRank = levelRank;
    }

    public Long getLevelRank() 
    {
        return levelRank;
    }

    public void setCommissionRate(BigDecimal commissionRate) 
    {
        this.commissionRate = commissionRate;
    }

    public BigDecimal getCommissionRate() 
    {
        return commissionRate;
    }

    public void setRule(Long rule) 
    {
        this.rule = rule;
    }

    public Long getRule() 
    {
        return rule;
    }

    public void setDiscript(String discript) 
    {
        this.discript = discript;
    }

    public String getDiscript() 
    {
        return discript;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("levelId", getLevelId())
            .append("levelRank", getLevelRank())
            .append("commissionRate", getCommissionRate())
            .append("rule", getRule())
            .append("discript", getDiscript())
            .append("createTime", getCreateTime())
            .append("status", getStatus())
            .toString();
    }
}
